package com.tourism.home.dao;import com.tourism.home.entity.*;import org.apache.ibatis.annotations.*;import java.util.List;/** * @author wanglinli * at 18-4-14 下午4:19 * 注释: */@Mapperpublic interface NoticeDao {    //查询全站公告最新一条数据    @Select("select tb_notice.*,tb_user.nickname as nickname from tb_notice join tb_user on tb_user.id = uid where type = \"全站公告\" order by createtime desc limit 1")    Notice getNewNotice();}